#include <iostream>
#include "StringBuffer.h"


void test0(){
    StringBuffer str1("hello");
    StringBuffer str2("hello,world!!!!!@");

    cout << str1[3] << endl;
    cout << str1[8] << endl;
    cout << str2[8] << endl;
    cout << str2[18] << endl;

    cout << str1 << endl;
    cout << str2 << endl;
}

int main() {
    test0();
    return 0;
}
